import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
    
    const mutations = {
          changeCity(state,cityName){
            state.city = cityName
            localStorage.city=cityName
          }
        };
     let cityes= localStorage.city || "西安"

    const state = {
        city:cityes
    };

		
export default new Vuex.Store({
            state,
            mutations
})